import request from '../utils/request'


export function register(data) {
  return request({
    url: '/userList/register',
    method: 'post',
    data: data,
  })
}
export function login(data) {
  return request({
    url: '/userList/login',
    method: 'post',
    data: data,
  })
}